package cn.itsource.org.service;

import cn.itsource.org.domain.Shop;
import cn.itsource.basic.service.IBaseService;
import cn.itsource.org.domain.ShopAuditLog;
import cn.itsource.org.domain.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：店铺
 * @author Tom
 * @since 2022-07-11
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    void auditPass(ShopAuditLog shopAuditLog) throws MessagingException;

    void auditReject(ShopAuditLog shopAuditLog) throws MessagingException;

    List<ShopDto> echarts();
}
